<?php namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Admin extends Model {

	//
	protected $table = 'admin';

	protected $hidden = ['password'];

	public function role(){
		return $this->hasOne("App\Models\Roles", 'id', 'role_id');
	}

}
